package com.learn.admin.modules.sys.entity;

import com.learn.admin.common.persistence.DataEntity;

public class Role extends DataEntity<Role> {

    private String name;

    private User user;

    public Role() {
        super();
    }

    public Role(String id) {
        super(id);
    }

    public Role(User user) {
        this();
        this.user = user;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
